package com.atguigu.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @Author 徐超
 * @Create 2024/12/9 15:55
 */

@Data
public class DemoData {
    //设置excel表头名称
    @ExcelProperty(value = "学生编号",index = 0)//index=0 表示第一列
    private Integer sno;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
